package View;

import java.awt.Color;
import java.awt.Font;

import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextArea;

@SuppressWarnings("serial")
public class PanelHelp extends JPanel {

	private static PanelHelp single;

	private JLabel title = new JLabel("help");
	private JTextArea text = new JTextArea();

	private Color backcolor = new Color(239, 238, 237);
	private Color titleColor = new Color(85, 85, 85);

	private PanelHelp() {
		setLayout(null);
		setBounds(140, 0, 860, 725);
		setBackground(backcolor);

		title.setBounds(330, 30, 200, 30);
		title.setForeground(titleColor);
		title.setFont(new Font("Serif", Font.BOLD, 20));

		text.setBounds(300, 250, 350, 200);
		text.setEditable(false);
		text.setBackground(backcolor);
		text.setFont(new Font("Serif", Font.PLAIN, 16));
		text.setText("bij problemen mail naar budget.beheer.supp@gmail.com" + "\n"
				+ "of bel naar 06-88888888");

		add(title);
		add(text);

	}

	public static PanelHelp getInstance() {
		if (single == null) {
			single = new PanelHelp();
		}
		return single;
	}

	public static void selfDestroy() {
		single = null;
	}
}
